<template>
  <t-dialog header="发送账号信息">
    <t-form :data="sendFormData" :rules="rules">
      <t-form-item label="接收电话" name="receiveMobile" status="error">
        <t-input placeholder="请输入接收电话" type="text" />
      </t-form-item>
    </t-form>
  </t-dialog>
</template>
<script setup lang="ts">
import type { FormRules } from 'tdesign-vue-next'
import { reactive } from 'vue'

const sendFormData = reactive({
  receiveMobile: '',
})
const rules: FormRules<typeof sendFormData> = {
  receiveMobile: [
    {
      required: true,
      message: '请输入接收电话',
      type: 'error',
      trigger: 'blur',
    },
  ],
}
</script>
<style scoped>

</style>
